﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestCaseDetail.aspx.cs" Inherits="NSATBPortal.TestCaseDetail" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test Case Details</title>
</head>
<body style="font-family: Tahoma; margin: 20px 0px 0px 10px; background-color: lightgray">
    <form id="form1" runat="server">
    <div id="Header" style="font-size: large; background-color: darkblue; color: white;">
        <div style="float: left; font-size: large; background-color: darkblue; color: white; width: 100%;">
        <a id="subheader" runat="server" href="TestCaseHome.aspx" style="color: white;">Test Case List</a>&nbsp;&gt;&nbsp;Test Case Details
        </div>
    </div>
    <div style="width: 100%; height: 100%; margin: 20px 0px 0px 0px; background-color: lightgray">
        <asp:Menu ID="ActionMenu" runat="server" BackColor="#993333" ForeColor="White" DynamicMenuItemStyle-BackColor="#993333" DynamicMenuItemStyle-ForeColor="White">
            <Items>
                <asp:MenuItem Text="Item Actions" ToolTip="Click here to manipulate items" Value="Item Actions">
                    <asp:MenuItem Text="Export to Excel" ToolTip="Exports to an Excel Template" Value="Export To Excel"></asp:MenuItem>
                </asp:MenuItem>
            </Items>

        </asp:Menu>
        <div style="margin: 20px 0px 0px 0px; height: 100%;">
            <asp:Table ID="tableTCDetails" runat="server" CellPadding="2" CellSpacing="0" BorderStyle="None" Font-Names="Calibri">
                <asp:TableRow>
                    <asp:TableCell ID="TCNameHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px">&nbsp;Test Case Name:</asp:TableCell>
                    <asp:TableCell ID="TCNameValue" BackColor="#ffcc99" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="14px" Wrap="false" VerticalAlign="Bottom" Width="500px" ColumnSpan="3">full name of test case</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ID="TCQCIDHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px">&nbsp;Test Case QC ID:</asp:TableCell>
                    <asp:TableCell ID="TCQCIDValue" BackColor="#ffcc99" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="14px" Wrap="false" VerticalAlign="Bottom" Width="100px">number here</asp:TableCell>
                    <asp:TableCell ID="TCQCIDFiller" BackColor="LightGray" BorderStyle="None" Wrap="false" Width="400px" ColumnSpan="2">&nbsp;</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ID="TCDescriptionHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px" ColumnSpan="4">&nbsp;Test Case Description:</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ID="TCDescriptionValue" BackColor="#c6e0b4" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="700px" ColumnSpan="4">Description text here</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ID="TCMaxTimeHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px">&nbsp;Maximum Run Time:</asp:TableCell>
                    <asp:TableCell ID="TCMaxTimeValue" BackColor="#c6e0b4" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="100px">number here</asp:TableCell>
                    <asp:TableCell ID="TCTargetSystemHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="50px">&nbsp;Target System:</asp:TableCell>
                    <asp:TableCell ID="TCTargetSystemValue" BackColor="#c6e0b4" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="100px">name here</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="TCResultRow" Visible="false">
                    <asp:TableCell ID="TCResultHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px">&nbsp;Test Case Result:</asp:TableCell>
                    <asp:TableCell ID="TCResultValue" BackColor="#c6e0b4" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="100px">Pass</asp:TableCell>
                    <asp:TableCell ID="TCResultFiller" BackColor="LightGray" BorderStyle="None" Wrap="false" Width="400px" ColumnSpan="3">&nbsp;</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="TCErrorHeaderRow" Visible="false">
                    <asp:TableCell ID="TCErrorHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px" ColumnSpan="4">&nbsp;Test Case Error Message:</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="TCErrorValueRow" Visible="false">
                    <asp:TableCell ID="TCErrorValue" BackColor="LightPink" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="700px" ColumnSpan="4">Error message text here</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell ID="TCStepsHeader" BackColor="White" ForeColor="#3f3f76" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="200px" ColumnSpan="4">&nbsp;Test Case Steps:</asp:TableCell>
                </asp:TableRow>
            </asp:Table>
            <asp:Table ID="tableStepTemplate" runat="server" CellPadding="2" CellSpacing="0" BorderStyle="None" Visible="false" >
                <asp:TableRow ID="StepTemplates">
                    <asp:TableCell ID="StepTmpl_StepName" BackColor="#f2f2f2" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="150px">*Setup 1</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ParamName" BackColor="#f2f2f2" ForeColor="#fa7d00" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="125px">InstallerPath</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ParamValue" BackColor="#ffcc99"  ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="125px">InstallerPath</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ActionWord" BackColor="#ffcc99" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="150px">*Setup 1</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultSecs" BackColor="WhiteSmoke" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="100px">Result</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultPass" BackColor="#c6e0b4" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="100px">Pass</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultFail" BackColor="LightPink" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="100px">Fail/Error</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultNoRun" BackColor="#f2f2f2" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="13px" Wrap="false" VerticalAlign="Bottom" Width="100px">*Setup 1</asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultText" BackColor="WhiteSmoke" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="13px" Wrap="true" VerticalAlign="Bottom">Actual Result: </asp:TableCell>
                    <asp:TableCell ID="StepTmpl_ResultProof" BackColor="WhiteSmoke" ForeColor="Black" BorderColor="SlateGray" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="13px" Wrap="true" VerticalAlign="Bottom">ScreenCap: <a href="OpenEvidence.aspx?ID=&Filename=" target="_blank">!Filename</a> (!Description) </asp:TableCell>
                    <asp:TableCell ID="StepTmpl_Filler" BackColor="Snow" BorderColor="WhiteSmoke" BorderStyle="Ridge" BorderWidth="1" Wrap="false" Width="20px" ColumnSpan="1">&nbsp;</asp:TableCell>
                </asp:TableRow>
            </asp:Table>
            <asp:Table ID="tableSteps" runat="server" CellPadding="2" CellSpacing="0" BorderStyle="None" />
            <asp:Table ID="tableEvidence" runat="server" CellPadding="2" CellSpacing="0" BorderStyle="Ridge" BorderColor="Black" BorderWidth="1" Font-Names="Calibri" Visible="false" >
                <asp:TableRow>
                    <asp:TableCell ID="TCResProofIDColHeader" Visible="false" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="100px">ID</asp:TableCell>
                    <asp:TableCell ID="TCResProofOpenColHeader" BackColor="#f2f2f2" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" >Proof</asp:TableCell>
                    <asp:TableCell ID="TCResProofNameColHeader" BackColor="#f2f2f2" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="100px">Name</asp:TableCell>
                    <asp:TableCell ID="TCResProofTypeColHeader" BackColor="#f2f2f2" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="75px">Type</asp:TableCell>
                    <asp:TableCell ID="TCResProofFilenameColHeader" BackColor="#f2f2f2" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="100px">Filename</asp:TableCell>
                    <asp:TableCell ID="TCResProofDescriptionColHeader" BackColor="#f2f2f2" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="0" Font-Bold="true" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="300px">Description</asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="TDResProofColTemplate">
                    <asp:TableCell ID="TCResProofIDColValue" Visible="false" BackColor="#c6e0b4" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="100px">ID</asp:TableCell>
                    <asp:TableCell ID="TCResProofOpenColValue" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" ><a href="OpenEvidence.aspx?ID=&Filename=" target="_blank">View</a></asp:TableCell>
                    <asp:TableCell ID="TCResProofNameColValue" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="100px">name here</asp:TableCell>
                    <asp:TableCell ID="TCResProofTypeColValue" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="75px">type</asp:TableCell>
                    <asp:TableCell ID="TCResProofFilenameColValue" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="false" VerticalAlign="Bottom" Width="100px">filename.ext</asp:TableCell>
                    <asp:TableCell ID="TCResProofDescriptionColValue" BackColor="White" ForeColor="#3f3f76" BorderColor="Black" BorderStyle="Ridge" BorderWidth="1" Font-Bold="false" Font-Size="16px" Wrap="true" VerticalAlign="Bottom" Width="300px">full description here</asp:TableCell>
                </asp:TableRow>
            </asp:Table>
        </div>
    </div>
    </form>
</body>
</html>
